<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>砸金蛋活动开始了</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
        	<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
            <!-- Mobile Devices Support @begin1 -->
            <meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type">
            <meta content="telephone=no, address=no" name="format-detection">
            <meta name="apple-mobile-web-app-capable" content="yes" /> <!-- apple devices fullscreen -->
            <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
			<meta name="spm-id" content="a1z51.{$appkey}"/>
        <!-- Mobile Devices Support @end -->
        <link rel="shortcut icon" href="/assets/{$assets}/mob/img/favicon.ico" />
    <!-- <link rel="stylesheet" href="/assets/{$assets}/mob/css/activity/smashegg/slider.css"> -->
    </head>
<body onselectstart="return true;" ondragstart="return false;">
<link rel="stylesheet" href="/assets/{$assets}/mob/css/activity/smashegg/main.css?v=2014-10-22">
<link rel="stylesheet" href="/assets/{$assets}/mob/css/activity/smashegg/winDialog.css?v=2014-10-22">
<style>
.ui-dialog_wrap{
color:{$cfg.front_mob_cfg.dialog.dialog_text_color|default:'#a6a9ac'};border: 1px solid {$cfg.front_mob_cfg.dialog.dialog_border|default:'#393939'};background: -webkit-linear-gradient(top, {$cfg.front_mob_cfg.dialog.dialog_bg0|default:'#393939'}, {$cfg.front_mob_cfg.dialog.dialog_bg1|default:'#212121'}); 
}
.ui-dialog_wrap .h-wrap {
background: url({$cfg.front_mob_cfg.dialog.dialog_bg|default:'https://img.alicdn.com/imgextra/i4/27390555/TB2SR8SsXXXXXcMXpXXXXXXXXXX-27390555.png'});
}

.ui-dialog_wrap hr {
border-color:{$cfg.front_mob_cfg.dialog.dialog_hr0|default:'#000'} transparent {$cfg.front_mob_cfg.dialog.dialog_hr1|default:'#414141'};
}
.ui-dialog_wrap  footer  .btn-yes {
 background: -webkit-linear-gradient(top, {$cfg.front_mob_cfg.dialog.dialog_btnclose0|default:'#10369d'}, {$cfg.front_mob_cfg.dialog.dialog_btnclose1|default:'#10369d'});color:{$cfg.front_mob_cfg.dialog.dialog_btntext|default:'#FFF'} 
}
.ui-dialog_wrap  footer .btn-no {
 background: -webkit-linear-gradient(top, {$cfg.front_mob_cfg.dialog.dialog_btnok0|default:'#10369d'}, {$cfg.front_mob_cfg.dialog.dialog_btnok1|default:'#10369d'});color:{$cfg.front_mob_cfg.dialog.dialog_btntext|default:'#FFF'} 
}
#rankBox #rankInfoBox .rankInfo input,#awardBox .codeInfoBox .buttons input {
color:{$cfg.front_mob_cfg.jinnang.text|default:'#FFF'}; background: -webkit-linear-gradient(top, {$cfg.front_mob_cfg.jinnang.button0|default:'#1dbbd7'}, {$cfg.front_mob_cfg.jinnang.button1|default:'#10369d'});
}
.sign_main .calendar_month_prev,.sign_main .calendar_month_next,.sign .on, .sign .on_bu, .sign .on_la, .sign .giftok, .sign .gift
{
background-image:url({$cfg.front_mob_cfg.cal.bg|default:'https://img.alicdn.com/imgextra/i1/27390555/TB2LmNEtFXXXXblXXXXXXXXXXXX-27390555.png'});
}
.instro-wall article table tr {
    border-top: 1px solid {$cfg.front_mob_cfg.start_page.instro_wall_giftline|default:'#a17a5e'};
}
.ui-dialog-wrap footer .btn-no{
text-decoration: none; background: -webkit-linear-gradient(top, {$cfg.front_mob_cfg.dialog.dialog_btnclose0|default:'#308ce8'}, {$cfg.front_mob_cfg.dialog.dialog_btnclose1|default:'#2262a3'});color:{$cfg.front_mob_cfg.dialog.dialog_btntext|default:'#FFF'};
}
.ui-dialog-wrap footer .btn-yes{
text-decoration:none;background: -webkit-linear-gradient(top, {$cfg.front_mob_cfg.dialog.dialog_btnok0|default:'#308ce8'}, {$cfg.front_mob_cfg.dialog.dialog_btnok1|default:'#2262a3'});;color:{$cfg.front_mob_cfg.dialog.dialog_btntext|default:'#FFF'} 
}
.exchange-wrap button {
background:-webkit-gradient(linear,0 0,0 100%,from({$cfg.front_mob_cfg.start_page.instro_wall_gift_button0|default:'#1dbbd7'}),to({$cfg.front_mob_cfg.start_page.instro_wall_gift_button1|default:'#10369d'}));
}
.win-table tr,.win-table td,{
border-top: 1px solid {$cfg.front_mob_cfg.start_page.instro_wall_giftline};
}
.win-table tr td input {
background:-webkit-gradient(linear,0 0,0 100%,from({$cfg.front_mob_cfg.start_page.instro_wall_gift_button0|default:'#1dbbd7'}),to({$cfg.front_mob_cfg.start_page.instro_wall_gift_button1|default:'#10369d'}));
}
.isEmptyAward {
width: 11rem;margin-left:0.6rem;
}
</style>
<input type="hidden" class="seller_nick" value="{$seller_nick}" />
<input type="hidden" class="sid" value="{$sid}" />
<input type="hidden" class="eid" value="{$event.id}" />
<input type="hidden" class="appname" value="{$appname}" />
<input type="hidden" class="curtool" value="mob_eggs" />
<div class="container">
<img class="jinnang" src="{$cfg.front_mob_cfg.start_page.main_bag|default:'https://img.alicdn.com/imgextra/i4/27390555/TB2bVzGtXXXXXceXXXXXXXXXXXX-27390555.png'}">
    <!--活动结束时，隐藏stage-->
        <section class="stage">
                    <img src="{$cfg.front_mob_cfg.start_page.main_bg|default:'https://img.alicdn.com/imgextra/i1/27390555/TB20Y0BsXXXXXa2XpXXXXXXXXXX-27390555.jpg'}">
        <!--广告-->
                <!--音乐-->
        <div class="player-wrap" id="J_Player">
            <a href="javascript:;" class="player-btn"></a>
            <audio src="{$cfg.front_mob_cfg.start_page.mp3url|default:'https://choujiang-1.shopmodule.jaeapp.com/assets/shopmobile/mob/music/activity/smashegg/default.mp3'}" autoplay="autoplay" loop="loop" class="player"></audio>
        </div>
                <!--金蛋-->
        <canvas id="canvas" width="640" height="459" style="width: 100%; display:none"></canvas>
     <!--   <div class="cube on" id="J_Shape">
            <div class="plane"><span><figure>&nbsp;</figure></span></div>
            <div class="plane"><span><figure>&nbsp;</figure></span></div>
            <div class="plane"><span><figure>&nbsp;</figure></span></div>
        </div>
        锤子-->
        <div class="hit" id="J_Hit"><img src="/assets/{$assets}/mob/img/activity/smashegg/1.png?v=2014-10-22"></div>
        <audio src="/assets/{$assets}/mob/music/activity/smashegg/hit.mp3" id="J_HitAudio"></audio>
    </section>
        <section class="wall-wrap" style="background:url({$cfg.front_mob_cfg.start_page.main_subbg|default:'https://img.alicdn.com/imgextra/i4/27390555/TB2gaFTsXXXXXbuXXXXXXXXXXXX-27390555.jpg'}); background-size:100% 100%;">
        <div class="instro-wall" style="background-image: -webkit-gradient(linear,10% 0,90% 0,from({$cfg.front_mob_cfg.start_page.instrowall0|default:'#875e44'}),color-stop(44.5%,{$cfg.front_mob_cfg.start_page.instrowall1|default:'#b88e6f'}),color-stop(56%,{$cfg.front_mob_cfg.start_page.instrowall2|default:'#b7957a'}),color-stop(67.7%,{$cfg.front_mob_cfg.start_page.instrowall3|default:'#b99477'}),to({$cfg.front_mob_cfg.start_page.instrowall4|default:'#875e44'}));">
            <h2 style="color:{$cfg.front_mob_cfg.start_page.main_h2text|default:'#fdfcb2'};background: -webkit-linear-gradient(left,transparent 10%,{$cfg.front_mob_cfg.start_page.main_h2bg|default:'#963'} 50%,transparent 90%);">参与人数：{$event.lotts}人，中出{$event.wins}份奖品</h2>
            <!--参与次数-->
            <article style="{if $cfg.front_mob_cfg.start_page.left_lotts==2}display:none;{/if}-webkit-box-shadow: 0 0 15px {$cfg.front_mob_cfg.start_page.instrowallarticle|default:'rgba(135,94,68,.8)'} inset;">
                <h6 style="background-image: url({$cfg.front_mob_cfg.start_page.main_title|default:'https://img.alicdn.com/imgextra/i2/2631893537/TB2.b8osXXXXXbgXpXXXXXXXXXX-2631893537.png'});color:{$cfg.front_mob_cfg.start_page.main_h6color|default:'#963'}">参与次数</h6>
                <div class="content" style="color:{$cfg.front_mob_cfg.start_page.main_textcolor|default:'#ffefd9'}">
                    <p>
                        您有
                        <label class="golden-txt" id="J_Seeds">{$user.seeds|default:0}</label>积分，
						您还可以抽奖：
                        <label class="golden-txt" id="J_Times">{$user.score|default:0}</label>次。在活动锦囊里可获得更多次数！
                    </p>
                </div>
            </article>
            <!--活动说明-->
            <article style="{if $cfg.front_mob_cfg.start_page.notice==2}display:none;{/if}-webkit-box-shadow: 0 0 15px {$cfg.front_mob_cfg.start_page.instrowallarticle|default:'rgba(135,94,68,.8)'} inset;">
                <h6 style="background-image: url({$cfg.front_mob_cfg.start_page.main_title|default:'https://img.alicdn.com/imgextra/i2/2631893537/TB2.b8osXXXXXbgXpXXXXXXXXXX-2631893537.png'});color:{$cfg.front_mob_cfg.start_page.main_h6color|default:'#963'}">活动说明</h6>
                <!--<h6 style="background-image: url({$cfg.front_mob_cfg.start_page.main_title|default:'https://img.alicdn.com/imgextra/i2/2631893537/TB2.b8osXXXXXbgXpXXXXXXXXXX-2631893537.png'}) no-repeat;color:{$cfg.front_mob_cfg.start_page.main_h6color|default:'#963'}">活动结束说明</h6>-->
                <div class="content" style="color:{$cfg.front_mob_cfg.start_page.main_textcolor|default:'#ffefd9'}">
				  {if $event.notice}
					{$event.notice}
				  {else}
                    {if $event.brandid && 1==2}<p>必须关注品牌才可以参与<!--a href="#">点击关注</a--></p>{/if}
                    {if $event.collect}<p>必须收藏店铺才可以参与<!--a href="#" class="collect">点击收藏</a--></p>{/if}
					<br />
                    {if $event.tms_newcomer>0}<p>进入可抽奖{$event.tms_newcomer}次</p>{/if}
                    {if $event.tms_everyday>0}<p>每天可领取{$event.tms_everyday}次机会</p>{/if}
                    {if $event.tms_cartadd>0}<p>商品加购物车可获得{$event.tms_cartadd}次机会，最多获得{$event.tms_cartadd_limit}次</p>{/if}
                    {if $event.orderset>0}
					  <br />
					  <p>订单号兑换抽奖机会：</p>
					  <p>　{if $event.andor==1}满足其中一条{else}同时满足以下条件{/if}：</p>
						  <p>　　付款时间在{if $event.order_pay_time_start}{$event.order_pay_time_start}{else}3个月之内{/if}至{if $event.order_pay_time_end}{$event.order_pay_time_end}{else}不限{/if}之间</p>
						  {if $event.order_payment}<p>　　付款金额{$event.order_payment}元以上</p>{/if}
						  {if $event.cart_items}<p>　　订单内包含{$event.cart_items_count}件指定商品<!--a href="#">查看</a--></p>{/if}
					  <p>　可兑换抽奖次数：</p>
					      {if $event.order_pay_times>0}<p>　　付款后可兑换{$event.order_pay_times}次</p>{/if}
					      {if $event.order_success_times>0}<p>　　确认收货后可兑换{$event.order_success_times}次</p>{/if}
					      {if $event.tms_goodrate>0}<p>　　好评后可兑换{$event.tms_goodrate}次</p>{/if}
					{/if}
					<br />
					<p>获取抽奖次数请点击锦囊。祝您抽奖愉快！</p>
				  {/if}
                </div>
            </article>
            <!--活动奖项-->
            <article style="{if $cfg.front_mob_cfg.start_page.gift_show==2}display:none;{/if}-webkit-box-shadow: 0 0 15px {$cfg.front_mob_cfg.start_page.instrowallarticle|default:'rgba(135,94,68,.8)'} inset;">
                <h6 style="background-image: url({$cfg.front_mob_cfg.start_page.main_title|default:'https://img.alicdn.com/imgextra/i2/2631893537/TB2.b8osXXXXXbgXpXXXXXXXXXX-2631893537.png'});color:{$cfg.front_mob_cfg.start_page.main_h6color|default:'#963'}">活动奖项</h6>
               <div class="content" style="color:{$cfg.front_mob_cfg.start_page.main_textcolor|default:'#ffefd9'}">
                         <ul class="prize-list fn-clear">
						 {foreach from=$gifts item=gift key=gkey}
							{if $gift.status!=1} <!-- 排除隐含奖品 -->
                            <li>
                                <figure>
                                    <figcaption>{$gift.level_name}                                                                           </figcaption>
                                    <img src="{$gift.pic_url|cat:'_150x150'}" />
                                </figure>
                                <span>{$gift.name}</span>
                            </li>
							{/if}
						{/foreach}
                         </ul>
                </div>
            </article>
            <!--中奖记录-->
            <article style="{if $cfg.front_mob_cfg.start_page.own_gift==2}display:none;{/if}-webkit-box-shadow: 0 0 15px {$cfg.front_mob_cfg.start_page.instrowallarticle|default:'rgba(135,94,68,.8)'} inset;">
                <h6 style="background-image: url({$cfg.front_mob_cfg.start_page.main_title|default:'https://img.alicdn.com/imgextra/i2/2631893537/TB2.b8osXXXXXbgXpXXXXXXXXXX-2631893537.png'});color:{$cfg.front_mob_cfg.start_page.main_h6color|default:'#963'}">中奖记录</h6>
               <div class="content" style="color:{$cfg.front_mob_cfg.start_page.main_textcolor|default:'#ffefd9'}">
                    <table class="win-table"  style="color:{$cfg.front_mob_cfg.start_page.main_textcolor|default:'#ffefd9'}">
						{foreach from=$mygifts item=mygift key=mykey }
                              <tr>
                                <td>{$mygift.actiontime}</td>
                                <td>{$mygift.gift_name}</td>
                                <td><input type="button" 
										   {if $mygift.is_picup && (!$mygift.km &&  $mygift.gtype_code!='item')}
										   disabled="disabled" 
										   {else}
											{if ($mygift.is_picup && $mygift.km) ||  ($mygift.is_picup && $mygift.gtype_code=='item')}
											class="show"
											{/if}
										   {/if} 
										   {if $mygift.km}
										   data-cardno="{$mygift.km.cardno}" data-secret="{$mygift.km.secret}"
										   {/if}
										   value="{if $mygift.km}查看卡密{else}{if $mygift.is_picup && $mygift.gtype_code=='item'}查看物流{else}{if $mygift.is_picup}已经{/if}领取{$mygift.gtype_name}{/if}{/if}"
										   data-gtype="{$mygift.gtype_code}" 
										   data-getway="{if $mygift.is_picup && $mygift.gtype_code=='item'}checkwl{else}{if $mygift.km}look{else}{$mygift.getway}{/if}{/if}" 
										   data-mygid="{$mykey}" 
										   data-gid="{$mygift.giftid}" 
										   data-url="/webegg/getwxred"/></td>
                              </tr>
						{/foreach}
                     </table>
                </div>
            </article>
            <!--中奖名单-->
                    </div>
    </section>
    <footer>
        {if $cfg.front_mob_cfg.start_page.copyright == 1}<a href="https://fuwu.m.taobao.com/wap/ser/index.htm#/serviceDetail?serviceCode=ts-30901&tracelog=sp" class="copyright">©本活动由订单抽大奖提供</a>{/if}
    </footer>
	<div id="poupInfoBox" class="loading" style="display: block;"> 
		<div style="text-align:center;padding-top:100px;">
			<img id="loading_egg" src="http://img04.taobaocdn.com/imgextra/i4/27390555/TB2yYQOXVXXXXX6XpXXXXXXXXXX-27390555.png" />
        </div>
		<center style="font-size:.6rem">正在为您准备金蛋，请稍候。。。</center>
		<center id="err_msg" style="font-size:.6rem;width:12rem;margin:0 auto"></center>
	</div>
	<div id="poupInfoBox" class="collect" > 
		<div style="text-align:center;padding-top:100px;">
			<img src="https://img.alicdn.com/imgextra/i4/27390555/TB2Ax.jX4eJ.eBjy1zdXXXfmFXa-27390555.png_310x310.jpg" />
        </div>
		<center style="font-size:.6rem">请收藏店铺</center>
		<center class="coll_msg" style="font-size:.6rem"></center>
	</div>
	<div id="poupInfoBox" class="poupFadIn" style="display: none;"> 
	<div class="poupHead">
        <div class="poupTitleBox">
            <div id="actionExpBtn" class="poupTitleMune checked" >
                <div class="item">活动说明</div>
            </div>
             
            <div id="ranBtn" class="poupTitleMune">
                <div class="item">没次数了</div>
            </div>
            
            <div id="prizeBtn" class="poupTitleMune">
                <div class="item">我的勋章<span id="Award_Round_Dot" class="redDot hide" ></span></div>
            </div>   
            <div class="poupSlideBar">
                <div class="slideBarTip transitionPanel" style="width: 4.41667rem;"></div>
            </div>
        </div>
        <div class="poupClose"></div>
        <div style="clear:both; height:0"></div>
		<!--<div class="poupTitle">活动及奖品说明</div>-->
	</div>
    <div id="popTabBox" class="popTabBox transitionPanel">
    	<div id="ruleBox" class="poupMain" style="height:25rem;overflow-y: auto;" _flag="2">
    		<div id="getHeight">
    			<div id="awardLine" class="poupLine layerId-4 defBgColor" style="{if $cfg.front_mob_cfg.jinnang.gift==2}display:none{/if}">
                    <div class="mainTitle" >活动奖品</div>
                    <div id="awardLineBox">
						 {foreach from=$gifts item=gift key=gkey}
							{if $gift.status!=1} <!-- 排除隐含奖品 -->
							<div class="unComfortLine awardItem "><span class="awardStyle">{$gift.level_name} </span> : <span class="award">{$gift.name}</span> {if $gift.price}价值<span class="award">{$gift.price}</span>元{/if}</div>
							{/if}
						{/foreach}
    				</div>	
                <div id="selfAwardLine" class="hide layerId-5 defBgColor" style="word-wrap: break-word; display: none;"></div>
    		</div>		
    			<!-- <div id="gameDateTime" class="poupLine layerId-6 defBgColor">
                    <div class="mainTitle">活动时间</div>
    				<p><span id="startDate">2016年7月11日 18:03</span>&nbsp;-&nbsp;<span id="endDate">2016年7月18日 18:03</span></p>
    			</div>	 -->
                <div class="hostLine poupLine layerId-9 defBgColor" style="{if $cfg.front_mob_cfg.jinnang.shop==2}display:none{/if}">
                    <div class="mainTitle">主办单位</div>
                    <p>本次活动主办单位为 <a class="hostName" href="#" style="text-decoration: none;">{$event.shop_name}</a></p>
                    <p>主办单位在法律允许的范围内拥有活动解释权</p>
                </div>
                
                    <div id="skillLine" class="skillLine poupLine layerId-10 defBgColor" style="min-height: 1rem;{if $cfg.front_mob_cfg.jinnang.tech==2}display:none{/if}">
                        <div class="skillCont">
                            <div class="mainTitle">技术支持</div>
                            <p>页面技术由 <a class="skillName" onclick="return false" href="https://fuwu.taobao.com/ser/detail.html?service_code=ts-30901">订单抽大奖</a> 提供，技术支持方仅提供页面技术，不承担由活动引起的相关法律责任</p>
                        </div>
                    </div>
                
    		</div>	
    		<div id="explainBox" class="poupLine layerId-7 defBgColor"  style="{if $cfg.front_mob_cfg.jinnang.join==2}display:none{/if}">
                <div class="mainTitle">活动参与</div>
                    <p id="explaiDrawInfoBox">
                    {if $event.brandid}<p>必须关注品牌才可以参与<a href="#">点击关注</a></p>{/if}
                    {if $event.collect}<p>必须收藏店铺才可以参与<a href="#">点击收藏</a></p>{/if}
					<br />
                    {if $event.tms_newcomer>0}<p>进入可抽奖{$event.tms_newcomer}次</p>{/if}
                    {if $event.tms_everyday>0}<p>每天可领取{$event.tms_everyday}次机会</p>{/if}
                    {if $event.tms_cartadd>0}<p>商品加购物车可获得{$event.tms_cartadd}次机会，最多获得{$event.tms_cartadd_limit}次</p>{/if}
                    {if $event.orderset>0}
					  <br />
					  <p>订单号抽奖：</p>
					  <p>　{if $event.andor==1}满足其中一条{else}同时满足以下条件{/if}：</p>
						  <p>　　付款时间在{if $event.order_pay_time_start}{$event.order_pay_time_start}{else}3个月之内{/if}至{if $event.order_pay_time_end}{$event.order_pay_time_end}{else}不限{/if}之间</p>
						  {if $event.order_payment}<p>　　付款金额{$event.order_payment}元以上</p>{/if}
						  {if $event.cart_items}<p>　　订单内包含{$event.cart_items_count}件指定商品<a href="#">查看</a></p>{/if}
					  <p>　可兑换抽奖次数：</p>
					      {if $event.order_pay_times>0}<p>　　付款后可兑换{$event.order_pay_times}次</p>{/if}
					      {if $event.order_success_times>0}<p>　　确认收货后可兑换{$event.order_success_times}次</p>{/if}
					      {if $event.tms_goodrate>0}<p>　　好评后可兑换{$event.tms_goodrate}次</p>{/if}
					{/if}
					<br />
					<p>获取抽奖次数请点击锦囊里的<a href="#">没次数了</a>标签。</p>
                    </p>	
    		</div>
    		<div id="explainBox" class="poupLine layerId-7 defBgColor" style="{if $cfg.front_mob_cfg.jinnang.exchange==2}display:none{/if}">
                <div class="mainTitle">兑奖说明</div>
    			<div id="exlainInfo">兑奖方式分为以下几种：
				{foreach $getway item=way}
					<p>{$way.name}：{$way.tip}</p>
				{/foreach}
				</div>
			</div>
    	</div>
    	<div id="rankBox" class="poupMain layerId-11 defBgColor"  style="display:none">		
    		<div id="rankHeight">
    			<table id="rankInfoBox" class="rankTable" cellspacing="0" cellpadding="0" style="margin-top: 0;">
				<tbody>
					<tr class="rankInfo">
					<td>每天领取</td>
					<td><input type="button" class="mission" data-mis="everyday" value="领取" ></td></tr>
					<tr class="rankInfo">
					<!-- <td><div class="userImg manImg"></div></td> -->
					<td>签到领取</td>
					<td><input type="button" class="mission"  data-mis="sign" value="签到" ></td></tr>
					<tr class="rankInfo">
					<td>订单号兑换</td>
					<td><input type="button" class="mission"  data-mis="order" value="兑换" ></td></tr>
					<tr class="rankInfo">
					<td>积分兑换</td>
					<td><input type="button" class="mission" data-mis="jifen" value="兑换" ></td></tr>
					<!--tr class="rankInfo">
					<td>加购物车</td>
					<td><input type="button" class="mission"  data-mis="cartadd" value="加购" ></td></tr-->
				</tbody>
				</table>
    		</div>				
    	</div>
    	<div id="awardBox" class="poupMain"  style="display:none">
            <div id="awardInfo" style="height:25rem;overflow-y: auto;">
				{foreach from=$mygifts item=mygift key=mykey }
				<div class="codeInfoBox">
					<div class="djqImgBox"></div>
					<div class="isEmptyAward ellipsis">一等奖：{$mygift.gift_name}{$mygift.actiontime}</div>
					<!--div class="codeperiod" style="margin: 0.25rem 0.6rem;"><span>兑奖期限</span>：2016.07.20 至 2016.07.27</div-->
					<div class="goDetailIcon"></div>
					<div class="awardWrap"></div>
					<div class="buttons"><input type="button" {if $mygift.is_picup && (!$mygift.km &&  $mygift.gtype_code!='item')}disabled="disabled" {else}{if ($mygift.is_picup && $mygift.km) ||  ($mygift.is_picup && $mygift.gtype_code=='item')}class="show"{/if}{/if} {if $mygift.km}data-cardno="{$mygift.km.cardno}" data-secret="{$mygift.km.secret}"{/if} value="{if $mygift.km}查看卡密{else}{if $mygift.is_picup && $mygift.gtype_code=='item'}查看物流{else}{if $mygift.is_picup}已经{/if}领取{$mygift.gtype_name}{/if}{/if}" data-gtype="{$mygift.gtype_code}" data-getway="{if $mygift.is_picup && $mygift.gtype_code=='item'}checkwl{else}{if $mygift.km}look{else}{$mygift.getway}{/if}{/if}" data-mygid="{$mykey}" data-gid="{$mygift.giftid}" data-url="/webegg/getwxred"/></div>
				</div>
				{/foreach}
			</div>    
            <!-- <div class="attentionBox">
                <div class="menuBtnBox layerId-14 defBgColor">
                    <a class="menuName" href="###">关注我们</a>
                </div>
                
                <div class="skillInfo"><a href="http://mp.weixin.qq.com/s?__biz=MjM5MTk5MjI3OA==&amp;mid=209854000&amp;idx=1&amp;sn=82241d924839270d3ea820ad2d56c01b#rd">我也要创建抽奖活动</a><span class="gotoFlag"></span></div>
                <div class="holdBox"></div>
            </div> -->
        </div>
    	<div id="regAwardBox" class="poupMain" _flag="4" style="height: 408px; display: none;">
    		<div id="noRegAward" class="hide" style="margin-left:3px;">尚未公布获奖名单，详情请查看活动说明</div>

    		<div id="regAwardMain">         
    					
    					<div class="regAwardList">
    						<div class="mainTitle">一等奖</div>
    						<div class="playerName" style="margin-bottom:12px;"></div>
    					</div>	
    					
    					<div class="regAwardList">
    						<div class="mainTitle">二等奖</div>
    						<div class="playerName" style="margin-bottom:12px;"></div>
    					</div>	
    					
    					<div class="regAwardList">
    						<div class="mainTitle">三等奖</div>
    						<div class="playerName" style="margin-bottom:12px;"></div>
    					</div>	
    			
    		</div>	
    	</div>	
    </div>
</div>
</div>

<div class="ui-dialog" id="J_Dialog">
    <div class="ui-dialog-wrap" style="color:{$cfg.front_mob_cfg.dialog.dialog_text_color|default:'#a6a9ac'};border: 1px solid {$cfg.front_mob_cfg.dialog.dialog_border|default:'#393939'};background: -webkit-linear-gradient(top, {$cfg.front_mob_cfg.dialog.dialog_bg0|default:'#393939'}, {$cfg.front_mob_cfg.dialog.dialog_bg1|default:'#212121'}); ">
        <header>
            <h2>
                <div class="h-wrap" style="background: url({$cfg.front_mob_cfg.dialog.dialog_bg|default:'https://img.alicdn.com/imgextra/i4/27390555/TB2SR8SsXXXXXcMXpXXXXXXXXXX-27390555.png'});">

                </div>
                <hr style="margin:0;border-color:{$cfg.front_mob_cfg.dialog.dialog_hr0|default:'#000'} transparent {$cfg.front_mob_cfg.dialog.dialog_hr1|default:'#414141'};" />
            </h2>
        </header>
        <section>
        </section>
        <footer>
        </footer>
    </div>
</div>
<script type="text/javascript" src="/assets/{$assets}/mob/src/activity/smashegg/src/rww.js" ></script>
<script type="text/javascript" src="/assets/{$assets}/mob/src/activity/smashegg/src/game.js" ></script>
<script type="text/javascript" src="/assets/{$assets}/mob/src/activity/smashegg/src/pass.js" ></script>
<script type="text/javascript" src="/assets/{$assets}/mob/lib/sea.js" id="seajsnode"></script>
<script type="text/javascript" src="//g.alicdn.com/tmapp/tida2/2.2.3/tida.js?appkey={$appkey}"></script>
<!--script type="text/javascript" src="//g.alicdn.com/tmapp/tida2/2.0.141/tida.js?appkey={$appkey}"></script-->
<!--script src="//g.alicdn.com/tmapp/tida/3.0.20/tida.js?appkey={$appkey}"></script-->
<script type="text/javascript">
			
	var base_url = "{$tae_url}?m=shopmobile";
	//var base_url = "https://llxlw.hz.taeapp.com/?m=shopmobile";
    var APP = {
        urls: {
            verify: "/webegg/GetVerifyJson?pid=55764531&wechat_id=fromUsername&sid={$sid}", // 短信验证
            base_url: base_url, // 基础url
            win: base_url+"&c=index&a=lott&sid={$sid}", // 抽奖
            exchange: base_url+"&c=gift&a=pickup&sid={$sid}", // 兑奖
            mission: base_url+"&c=user&a=mission&sid={$sid}", // 抽奖机会任务
            signday: base_url+"&c=user&a=sign_cur_day&sid={$sid}", // 签到
            signpassday: base_url+"&c=user&a=sign_pass_day&sid={$sid}", // 补签
            signlingjiang: base_url+"&c=user&a=sign_ling_jiang&sid={$sid}", // 累计天数领奖
            gift: base_url+"&c=gift&sid={$sid}", // 获取奖品信息
            user: base_url+"&c=user&sid={$sid}", // 获取和保存用户信息
        },
        imgs: {
            logo: "//img.alicdn.com/imgextra/i4/27390555/TB2WbxtsXXXXXb6XpXXXXXXXXXX-27390555.png", // 商家logo
            coin: "//img.alicdn.com/imgextra/i2/27390555/TB2k.tWsXXXXXaYXXXXXXXXXXXX-27390555.png" // 银元
        },
		eid: {$event.id}, // 是否手机端兑奖
        sid: {$sid}, // 是否手机端兑奖
        onmobile: true, // 是否手机端兑奖
        regFirst: false, // 填写用户信息规则: true--抽奖开始前填写，false--兑奖开始前填写
        eventUid: '0', // 用户ID，读取用户信息后自动填写
        sellerUid: {$cfg.taobao_user_id|default:0}, // 店铺用户ID
        point: '0', // 积分，读取用户信息后自动填写
        chance: '0', // 抽奖次数，读取用户信息后自动填写
        mustFollow: {$cfg.collect|default:"false"}, // 是否强制关注
        snName: '积分', // 消耗积分
        followed: false // 是否已关注
    };
	
	
	Tida.ready({
		//console:1,
	}, function(){
		if(!Tida.isSupportedApp){
			if("{$cfg.qrcode}"!=""){
			document.getElementById('loading_egg').innerHTML ='<img src="{$cfg.qrcode}_150x150.jpg"/>';
			}
			document.getElementById('err_msg').innerHTML = '<div><br />正在使用不支持的环境，请在手机淘宝中或浏览器中扫码打开本链接<br /><br />微信用户请点击右上角“在浏览器中打开”<br /><br /><textarea>'+window.location.href+'</textarea></div>';
			Tida.openClient( window.location.href );
			return;
		}
		// TODO
		var options = {
		sellerNick: "{$seller_nick}"
		};
		//Tida.hideTitle();
		//k01UulQpdrfWP/FlNTAiJ3nWf8p4y2Nzgo7UGObn3+dFq0=
		Tida.mixNick(options, function (data) {
			/*
			APP.urls.win+="&tida_mixnick="+encodeURIComponent(data.mixnick);
			APP.urls.exchange+="&tida_mixnick="+encodeURIComponent(data.mixnick);
			APP.urls.mission+="&tida_mixnick="+encodeURIComponent(data.mixnick);
			APP.urls.signday+="&tida_mixnick="+encodeURIComponent(data.mixnick);
			APP.urls.signpassday+="&tida_mixnick="+encodeURIComponent(data.mixnick);
			APP.urls.signlingjiang+="&tida_mixnick="+encodeURIComponent(data.mixnick);
			APP.urls.gift+="&tida_mixnick="+encodeURIComponent(data.mixnick);
			APP.urls.user+="&tida_mixnick="+encodeURIComponent(data.mixnick);
			*/
			APP.mixnick = encodeURIComponent(data.mixnick);
			
			
			seajs.config({
			base:"/assets/{$assets}/mob/"
			});
			seajs.use("/assets/{$assets}/mob/src/activity/smashegg/src/main");
		});
	});
	
    var g_rem = 20;
    (function(docElem,win){
        var setFontSize = function(){
            g_rem = (docElem.getBoundingClientRect().width || docElem.clientWidth || win.innerWidth)/16;
            !g_rem && (g_rem = 20);
            docElem.style.fontSize = g_rem + 'px';
        }
        win.addEventListener("resize",setFontSize,false);
        setFontSize();
    })(document.documentElement,window);
</script>
<div mark="stat_code" style="width:0px; height:0px; display:none;">
</div>
</body>
</html>